<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
  <title>Document</title>
</head>
<body>
  <script>
    function getMusic(){
      $.ajax({
        url: 'https://autumnfish.cn/search?keywords="断桥残雪"',
        method: 'get',
        success: function(res){
          console.log(res.result.songs[0].name);
          singSong()
        }
      })
    }
    
    getMusic()

    function singSong(){
      console.log('sing...')
    }

    
  </script>
</body>
</html>